//index.js
//获取应用实例
var count=0
Page({
  data: {
    motto: 'Hello World',
    userInfo: {},
    hasUserInfo: false,
    canIUse: wx.canIUse('button.open-type.getUserInfo'),
    money:"",
    inputValuet:'',
    result:"最终结果将在这里显示"
  },
  inputvalue : function(e)  {
     count= e.detail.value
    console.log(count)
  },
dollar : function()  {
 // money=document.getElementById("m").value
  var money=count/6
  console.log(money)
  this.setData(
    {result:money,}
    )
    
}


}
)